package cn.iocoder.yudao.module.shop.controller.admin.shopSettleApply.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

import java.util.List;

@Schema(description = "管理后台 - 商户入驻申请 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ShopSettleApplyRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "姓名", example = "芋艿")
    @ExcelProperty("姓名")
    private String nickName;

    @Schema(description = "联系电话")
    @ExcelProperty("联系电话")
    private String mobile;

    @Schema(description = "性别")
    @ExcelProperty(value = "性别", converter = DictConvert.class)
    @DictFormat("dc_sex") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String sex;

    @Schema(description = "当前居住地址")
    @ExcelProperty("当前居住地址")
    private String residenceAddress;

    @Schema(description = "申请原因", example = "xx")
    @ExcelProperty("申请原因")
    private String applyReason;

    @Schema(description = "意向入驻地址是否为常居地")
    @ExcelProperty(value = "意向入驻地址是否为常居地", converter = DictConvert.class)
    @DictFormat("dc_boolean") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Boolean isLocal;

    @Schema(description = "意向入驻省份")
    @ExcelProperty("意向入驻省份")
    private String province;

    @Schema(description = "意向入驻城市")
    @ExcelProperty("意向入驻城市")
    private String city;

    @Schema(description = "意向入驻区域")
    @ExcelProperty("意向入驻区域")
    private String district;

    @Schema(description = "意向入驻地区")
    @ExcelProperty("意向入驻地区")
    private String area;

    @Schema(description = "状态", example = "1")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("dc_settle_apply") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String status;

    @Schema(description = "填表ip")
    @ExcelProperty("填表ip")
    private String submitIp;

    @Schema(description = "填表ip归属地")
    @ExcelProperty("填表ip归属地")
    private String submitIpBelong;

    @Schema(description = "从何处了解")
    @ExcelProperty(value = "从何处了解", converter = DictConvert.class)
    @DictFormat("dc_settle_know_source") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private List<String> knowSource;

}